<h2>Search</h2>

<div dojoType="custom.TestNameReadStore" jsId="testStore"
    url="<?= $this->url(array('controller' => 'group',
                        'action' => 'autocomplete',
                        'format' => 'ajax'), 'default', true)?>"
    requestMethod="get">
</div>
<hr/>
<?= $this->form ?>

<? // setup javascript to load in HTML head, including all required
   // Dojo libraries: ?>

<? $this->headScript()->captureStart() ?>
djConfig.usePlainJson=true;
dojo.registerModulePath("custom","../custom");
dojo.require("dojox.data.QueryReadStore");
dojo.require("custom.TestNameReadStore");
<? $this->headScript()->captureEnd() ?>

